package com.hhxyjsj.prototype;

/**
 * 文件复制测试 类
 * 
 * @author hhxyj
 *
 */
public class FileTest {
	
	public static void main(String[] args) {
		File file = new File("a.txt","111111111111111111111121231231312312");
		File newFile = file.copy();
		System.out.println(file == newFile);
		System.out.println("name:" + newFile.getName());
		System.out.println("content:" + newFile.getContent());
		
	}
}
